﻿<layout name="layout" />
<style>
    body {
        border: 0px solid;
    }

    #uc_info {
        float: none;
    }

    #uc_head {
        padding: 0;
        overflow: hidden;
    }



    #uc_accountinfo {
        border-bottom: 1px solid white;
        color: white;
        height: 40px;
        font-size: 25px;
        font-weight: bold;
        line-height: 40px;
    }

    #uc_uesrinfo {
        height: 100px;;
        padding-top: 10px;
        background: url('/images/bg_head.jpg');
        background-size: cover;
    }

    #uc_honourinfo {
        font-size: 10px;
        color: white;
        padding: 0;
    }

    #uc_honourinfo a {
        font-size: 10px;
        color: white;
        padding: 0 0 0 5px;
        line-height: 25px;
    }

    #uc_issuehis {
        height: 240px;
        border: 1px solid rgba(225, 225, 225, 1);
        margin: 2% 0 2% 0;
    }

    #uc_solvehis {
        float: right;
        height: 240px;
        border: 1px solid rgba(225, 225, 225, 1);
        margin: 2% 0 2% 0;
    }

    #uc_FAQ {
        height: 200px;
        border: 1px solid rgba(225, 225, 225, 1);
        margin: 2% 0 2% 0;
    }

    #uc_news {
        height: 200px;
        float: right;
        border: 1px solid rgba(225, 225, 225, 1);
        margin: 2% 0 2% 0;
    }

    #uc_head {
        border-radius: 40px;
        width: 80px;
        height: 80px;
        background: white;
    }

    .uc_title {
        height: 40px;
        border-bottom: 1px solid rgba(225, 225, 225, 1);
        font-size: 18px;
        font-weight: bold;
        text-align: center;
        line-height: 40px;
    }

    .uc_main {

    }

    .uc_seemore {
        float: right;
        font-size: 12px;
    }

    .uc_msg {
        margin:5px;
        height: 35px;
        font-size:14px;
        color : #28a4c9;
        padding: 5px 0 0 0;
    }

    .uc_msg span{
        min-width : 20%;
        overflow : hidden;
        text-overflow : ellipsis ; 
    }

    @media ( min-width : 768px) {
        .col-sm-6 {
            width: 49%;
        }
    }

    @media ( min-width : 992px) {
        .col-md-6 {
            width: 49%;
        }
    }

    @media ( min-width : 1200px) {
        .col-lg-6 {
            width: 49%;
        }
    }

    #uc_ad {
        width: 100%;
        clear: both;
        padding:0;
        margin: 0;
    }
</style>
<div id='uc_info' class='col-xs-12 col-sm-12 col-md-12 col-lg-12'>

    <div class='row'>
        <div id='uc_uesrinfo'
             class='col-xs-12 col-sm-12 col-md-12 col-lg-12'>
            <div id='uc_head'
                 class='col-xs-2 col-sm-2 col-md-1 col-lg-1 col-sm-offset-1 col-md-offset-1 col-lg-offset-1'>
                <img src='{$etc.head}' />
            </div>

            <div id='uc_accountinfo'
                 class='col-xs-8 col-sm-8 col-md-8 col-lg-8 col-sm-offset-1 col-md-offset-1 col-lg-offset-1'>
                <span>您好 , <a href='/index.php/User/User/getwyucookie'>{$data[0].username}</span>

                <div id='uc_honourinfo' class='col-xs-12 col-sm-12 col-md-12 col-lg-12'>
                    <a class='col-xs-12 col-sm-4 col-md-4 col-lg-4'> 荣耀值 : {$etc.honour} </a>
                    <a href='#'	class='col-xs-6 col-sm-4 col-md-4 col-lg-4'> 待确认({$etc.waitcommonNum} )</a> 
                    <a href='{$Think.config.MODIFY}' class='col-xs-6 col-sm-4 col-md-4 col-lg-4'> 修改密码 </a>
                </div>
            </div>

            <!-- 修改资料 感觉可以搬到 右上角账号处理 看具体效果 -->
        </div>

        <div id='uc_issuehis' class='col-xs-12 col-sm-6 col-md-6 col-lg-6'>
            <div class='uc_title'>
                近期发布(<span>{$etc.issueNum}</span>) 
                <a href='{$Think.config.ALLISSUE}' class='uc_seemore'>查看更多</a>
            </div>
            <div class='uc_main'>
                <volist name="issuehis" id="item">
                    <a href='{$Think.config.TASKINFO}/id/{$item.ID}'>
                        <div class='uc_msg'>
                            <span style='float:left'>{$item.title}</span>
                            <span style='float:left'>{$item.sendTime}</span>
                            <span style="float:right">{$item.status}</span>
                        </div>
                    </a>
                </volist>
            </div>
        </div>

        <div id='uc_solvehis' class='col-xs-12 col-sm-6 col-md-6 col-lg-6'>
            <div class='uc_title'>
                近期接受(<span>{$etc.solveNum}</span>) 
                <a href='{$Think.config.ALLSOLVE}' class='uc_seemore'>查看更多</a>
            </div>
            <div class='uc_main'>
                <volist name="solvehis" id="item">
                    <a href='{$Think.config.TASKINFO}/id/{$item.ID}'>
                    <div class='uc_msg'>
                        <span style='float:left'>{$item.title}</span>
                        <span style='float:right'>{$item.sendTime}</span>
                        <span style="float:right">{$item.status}</span>
                    </div>
                    </a>
                </volist>
            </div>
        </div>

        <div id='uc_FAQ' class='col-xs-12 col-sm-6 col-md-6 col-lg-6'>
            <div class='uc_title'>
                常见问题 <a href='{$Think.config.ALLFAQ}' class='uc_seemore'>查看更多</a>
            </div>

            <div class='uc_main'>
                <volist name="FAQ" id="item">
                    <div class='uc_msg'>
                        <span style='float:left'>{$item.title}</span>
                        <span style='float:right'>{$item.sendTime}</span>
                    </div>
                </volist>
            </div>
        </div>

        <div id='uc_news' class='col-xs-12 col-sm-6 col-md-6 col-lg-6'>
            <div class='uc_title'>
                最新新闻 <a href='{$Think.config.ALLNEWS}' class='uc_seemore'>查看更多</a>
            </div>
            <div class='uc_main'>
                <volist name="news" id="item">
                    <div class='uc_msg'>
                        <span style='float:left'>{$item.title}</span>
                        <span style='float:right'>{$item.sendTime}</span>
                    </div>
                </volist>
            </div>
        </div>

        <div id='uc_ad' class='col-xs-12 col-sm-6 col-md-6 col-lg-6'>
            <include file="App/public/View/Default/public/AD.html" />
        </div>
    </div>
    
    <script src='/js/jquery.cookie.js'></script>
    <div class='row'>
        <object type='text/html' data='http://jwc.wyu.cn/student/'></object>
        <!--
        <iframe src='http://jwc.wyu.cn/student'>
        </iframe>
        -->
    </div>
</div>
